package com.jack.payment.entity.result;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "返回存储桶签名数据")
public class OssResultVo implements Serializable {
    @Schema(description = "oss 用户标识id")
    private String accessId;
    @Schema(description = "oss 策略")
    private String policy;
    @Schema(description = "直传签名")
    private String signature;
    @Schema(description = "上传图片链接")
    private String host;
    @Schema(description = "过期时间 [请在有效期内上传链接]")
    private Long expireTime;
    @Schema(description = "回调地址")
    private String callBackUrl;
    @Schema(description = "上传的路径")
    private String uploadPath;
    @Schema(description = "用户id")
    private String userId;
}
